<!DOCTYPE html>
<html class="pixel-ratio-3 retina android android-5 android-5-1-1">
<head>
    <title>填写问诊单</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="description" content="">

    <link rel="stylesheet" href="/lib/weui.min.css">
    <link rel="stylesheet" href="/css/jquery-weui.css">
    <link rel="stylesheet" href="/css/home.css">
    <link rel="stylesheet" href="/plugins/fontaw/css/font-awesome.css">
<style>
    .avatar-cycle{border-radius: 50%;width: 3rem;border:0.2rem solid white;-moz-box-shadow:2px 2px 5px #333333; -webkit-box-shadow:2px 2px 5px #333333; box-shadow:2px 2px 5px #333333;}
    .weui-msg__icon-area {
        margin-bottom: 10px;
    }
    .weui-msg{padding-top:10px}
    .weui-msg__text-area{margin-bottom: 0rem}
</style>
</head>
<body  >
<div class="weui-msg">
    <div class="weui-msg__icon-area">
       <img src="/mod-page/images/avatar.jpg" class="avatar-cycle"/>
    </div>
    <div class="weui-msg__text-area">
        <h2 class="weui-msg__title" id="dname"></h2>
        <p class="weui-msg__desc">您好，我刚刚给你发送了一份新的问诊单，请认真填写，这对准确诊断十分重要</p>
    </div>
    <div class="weui-msg__opr-area">
        <p class="weui-btn-area" >
           <img src="/mod-page/images/qrcode.png" id="qrcode" width="50%">
        </p>
        <p class="weui-msg__desc">1. 长按二维码关注杏林名家</p>
        <p class="weui-msg__desc">2. 开始填写问诊单</p>

    </div>
    <div class="weui-msg__extra-area">
        <div class="weui-footer">
            <p class="weui-footer__links">
                <a href="javascript:void(0);" class="weui-footer__link">杏林名家</a>
            </p>
            <p class="weui-footer__text">Copyright © 2018-2022 </p>
        </div>
    </div>
</div>


<script src="/lib/jquery-2.1.4.js"></script>
<script src="/lib/fastclick.js"></script>
<script src="/js/jquery-weui.js"></script>
<script src="/js/home.js"></script>
<script>
    var doctorId = getQueryString("doctorId");
    $.ajax({
        url:"/d/doctor/getDoctorInfoById",
        data:{"doctorId":doctorId},
        success:function(da){
            if(da.msg=="ok"){
                $("#dname").text(da.data.doctorname);
                $("#qrcode").attr("src","https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket="+da.data.qrUrl);
            }
        }
    });
</script>
</body>
</html>